From 819252a4fc4a274106bb49b8348ff73a9867731e Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 30 Nov 2000 21:57:05 +0000 Subject: [PATCH] (echo_area_display): If cursor is in the echo area, make sure that the next redisplay displays the minibuffer, so that the cursor will be replaced with what the minibuffer wants. --- src/xdisp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 15e52cde5aa..0ea22b6387e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -6631,6 +6631,12 @@ echo_area_display (update_frame_p) } else update_frame (f, 1, 1); + + /* If cursor is in the echo area, make sure that the next + redisplay displays the minibuffer, so that the cursor will + be replaced with what the minibuffer wants. */ + if (cursor_in_echo_area) + ++windows_or_buffers_changed; } } else if (!EQ (mini_window, selected_window)) -- 2.30.2